package org.peterbjornx.net.packet;

import org.peterbjornx.io.RSInputStream;
import org.peterbjornx.Client;

import java.io.IOException;

/**
 * Created by IntelliJ IDEA.
 * User: PeterbjornX
 * Date: Apr 9, 2009
 * Time: 6:52:28 PM
 * Defines a packet handler
 */
public interface Packet {
    public void handleData(RSInputStream instream, Client clientinstance, int psize) throws IOException;
}
